package objects;

import java.util.Objects;

public class Test {
    public static void main(String[] args) {
        String s1 = new String("1234");
        String s2 = "1234";
        // System.out.println(s1.equals(s2));
        System.out.println(Objects.equals(s1, s2));
        Test t = new Test();
        try {

        } catch (Exception e) {
            System.out.println(t);
        }
        System.out.println(9 / 0);

        String name = new String("张家动");
//    public String toString(){
//        return name;
//    }
    }
}